package com.dabaozhan.modules.wx_app.entity;

import java.math.BigDecimal;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.dabaozhan.modules.wx_app.base.AbstractBaseEntity;

public class BookBillEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;
	//记账类型 1:收入 2：支付
	@NotNull(message="bookType不能为空")
	private Integer bookType;
	//记账科目 1:销货收入 2:杂料收入 3:租金收入 4:其他收入 5:购货支出 6:工资支出 7:运输支出 8:租金水电 9:设备及维修 10:其他支出
	@NotNull(message="bookSubject不能为空")
	private Integer bookSubject;
	//金额
	@NotNull(message="bookPrice不能为空")
	private BigDecimal bookPrice;
	//经手人
	@NotEmpty(message="bookName不能为空")
	private String bookName;
	//说明
	@NotEmpty(message="bookDetail不能为空")
	private String bookDetail;
	//交易时间
	@NotEmpty(message="tradeTime不能为空")
	private String tradeTime;
	//打包站id
	@NotEmpty(message="userId不能为空")
	private String userId;
	//图片集合
	private List<String> pictureList;
	public Integer getBookType() {
		return bookType;
	}
	public void setBookType(Integer bookType) {
		this.bookType = bookType;
	}
	public Integer getBookSubject() {
		return bookSubject;
	}
	public void setBookSubject(Integer bookSubject) {
		this.bookSubject = bookSubject;
	}
	public BigDecimal getBookPrice() {
		return bookPrice;
	}
	public void setBookPrice(BigDecimal bookPrice) {
		this.bookPrice = bookPrice;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getBookDetail() {
		return bookDetail;
	}
	public void setBookDetail(String bookDetail) {
		this.bookDetail = bookDetail;
	}
	public String getTradeTime() {
		return tradeTime;
	}
	public void setTradeTime(String tradeTime) {
		this.tradeTime = tradeTime;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public List<String> getPictureList() {
		return pictureList;
	}
	public void setPictureList(List<String> pictureList) {
		this.pictureList = pictureList;
	}
}
